﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Manager
{
   public  class Convertion
    {
       


        public static string getFileDirectory(string file)
        {
            try
            {
                if (file.Length != 0)
                {

                    return Path.GetFullPath(file);
                }
            }
            catch (Exception px)
            {

                return px.Message;

            }

            return null;
        }
        public static ImageHandler imgHandler = new ImageHandler();
        public static string getFile(string file)
        {

            return Path.GetFileName(file);
           

        }




       

    }
}
